Description |
Sets specific dimensions for the parameters dialog box to speed up display. If this function is not defined, the window dimensions are computed automatically. |
|
Note: Do not define this function unless you want an options dialog box larger than 640 pixels by 480 pixels. |
Arguments |
platform |
|
The value of the argument is either "macintosh" or "windows" , depending on the user's platform. |
Returns |
A string of the form "widthInPixels,heightInPixels" . |
|
The returned dimensions are smaller than the size of the entire dialog window because they do not include the area for the OK and Cancel buttons. If the returned dimensions do not accommodate all options, scroll bars appear. |
Example |
The following instance of windowDimensions() sets the dimensions of the parameters dialog box to 648 pixels by 520 pixels: |
 |
|